﻿<?php
    session_start();
	
	if (!isset($_SESSION["taikhoan"]))
	{
		header("Location: cnk-dangnhap.php");
	}
	
	include "connect.php";
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Trang chủ Chủ Nhiệm Khoa</title>
<style type="text/css">

a	{
		color: #006600;
		text-decoration: none;
	}

a:hover { COLOR: #CC0000}
.link	{	color:#FFFFFF;	}
.bg { 	border-bottom-color:#0066FF;
		border-bottom-style:dotted;
		border-bottom-width:thin;	}
.style2 {
	font-size: 18px;
	font-weight: bold;
	color: #FFFFFF;
}
.style4 {
	color: #000099;
	font-weight: bold;
	font-size:20px;
}
.style14 {font-size: 14px; font-weight: bold; color: #FFFFFF; }
.style17 {
	color: #000099;
	font-weight: bold;
}
.style19 {	color: #FFFFFF;
	font-weight: bold;
	font-size: 30px;
}

</style>
</head>

<body>

<?php
        $cnk=$_SESSION['cnk']; 
        $sql=mysql_query("select * from khoa where username='$cnk'");
		$r=mysql_fetch_row($sql);
		$tenkhoa=$r[1];
		$makhoa=$r[0];
?>

<table width="900" height="550" border="0" align="center" bordercolorlight="#CCCCCC" style="border:1px solid #CCCCCC">

<!-- đầu trang --> 	
	<tr> <td width="900" height="70" background="image/header.gif">
    	
        <table width="100%" height="100%" border="0"> 
          <tr>
       		
          <td width="10%" rowspan="2"><img src="image/logo.gif" width="100%" height="70" /></td>
            
            <td width="60%" rowspan="2" height="70" align="center" style="font-size:24px"><div align="center">
              <blockquote>
                <p><span class="style19">Website ĐÁNH GIÁ HỌC PHẦN</span></p>
              </blockquote>
          </div></td>
   		  	
          <td width="32%" valign="bottom"> <table>
       		  <tr><td valign="bottom">
           	  <div align="center" class="style14">
              	<a class="link" href="helpkhoa.htm" target="_blank">Hướng dẫn</a> | <a class="style14" href="cnk-trangchu.php">Trang chủ</a> | <a class="style14" href="logout.php">Thoát</a></div></td></tr>
       	  	  <tr><td valign="bottom">
           	  <div align="center" class="style14">Xin chào, Khoa  <?php echo $tenkhoa; ?></div></td></tr>
				<tr><td align="center"><span><a href="frmDoiMK.php" class="style14"><b>Đổi mật khẩu</b></a></span></td></tr>
   	  	  </table> </td>
        
        </tr> </table>
    
    </td> </tr>

	<tr> <td height="50" width="100%" bordercolor="#FFFFFF"></td> </tr>

<!-- thân trang --> 	
	<tr> <td valign="top" bordercolor="#FFFFFF">
    	<table width="800" height="360" align="center" > 
		  <tr >
        	

<!-- phần nội dung  -->
   		  	<td  valign="top" align="center"><table width="700" cellspacing="3" cellpadding="0">
            	<tr  >
               	
						<td width="350"> <table width="350" height="170"  border="0" style="border:1px solid #0066FF"> 
							
							<tr>
								<td valign="middle" height="154" align="center" bordercolor="#FFFFFF" class="style4" >
									<img border="0" src="image/danhgia.png" width="70" height="70" />
									<br/><br/><a href="cnk-theodoi.php"> Theo Dõi Tình Hình Đánh Giá Học Phần</a></td>
							</tr>
						   </table>
						</td>
				  
              	
						<td > <table border="0" style="border:1px solid #0066FF" width="350" height="170"> 
							 <tr>
								<td valign="middle" height="150" align="center" bordercolor="#FFFFFF" class="style4">
									<p><img border="0" src="image/xem.gif" width="70" height="70" />
									<br/><br/><a href="cnk-tcxem.php"> Xem Kết Quả Đánh Giá Học Phần </a></p></td>
						   </tr>	
						   </table>
					    </td>
                </tr>
         	
                <tr >
							<td> <table border="0" style="border:1px solid #0066FF" width="350" height="170">
								  <tr>
									<td valign="middle" height="150" align="center" bordercolor="#FFFFFF" class="style4">
										<img border="0" src="image/tke.jpg" width="80" height="80" />
										<br/><br/>
										<a href="cnk-tcthongke.php"> Thống Kê Kết Quả Đánh Giá Học Phần</a></td>
							  </tr>	
							 </table>
						  </td> 
				  
                   
						 <td>
						           <table border="0" style="border:1px solid #0066FF" width="350" height="170">
								     <tr>
											<td valign="middle" height="150" align="center" bordercolor="#FFFFFF" class="style4">
												<img border="0" src="image/xem.gif" width="70" height="70" />
												<br/><br/>
												<a href="cnk-kqtoankhoa.php"> Kết Quả Đánh Giá Toàn Khoa</a></td>
									</tr>	
									 </table>
						 </td>  
              	
               </tr>
			   
			    <tr >
							<td> <table border="0" style="border:1px solid #0066FF" width="350" height="170">
								  <tr>
									<td valign="middle" height="150" align="center" bordercolor="#FFFFFF" class="style4">
										<img border="0" src="image/tke.jpg" width="80" height="80" />
										<br/><br/>
										<a href="cnk-sslophp.php">So Sánh Kết Quả Đánh Giá từng Lớp Học Phần của Giảng Viên</a></td>
							  </tr>	
							 </table>
						  </td> 
				  
                   
						 <td>
						           <table border="0" style="border:1px solid #0066FF" width="350" height="170">
								     <tr>
											<td valign="middle" height="150" align="center" bordercolor="#FFFFFF" class="style4">
										<img border="0" src="image/tke.jpg" width="80" height="80" />
										<br/><br/>
										<a href="cnk-sshp.php"> So Sánh Kết Quả Đánh Giá từng Học Phần của Giảng Viên</a></td>
									</tr>	
									 </table>
						 </td>  
              	
               </tr>
            
            </table></td>
			</tr>
			</table>
			</td>
			</tr>
<!-- cuối trang -->  
	<tr> <td height="55" width="100%" bordercolor="#FFFFFF"></td> </tr>

	<tr> <td height="28" background="image/footer.gif">
    	<table width="100%"> <tr >
    	
    	</tr> </table>
    </td> </tr>
</table>

</body>
</html>
